body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.el-container {
    height: 100vh;
}

.el-header,
.el-aside {
    background-color: #344a5f;
    color: white;
}

.el-header {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.el-header h1 {
    margin: 0 auto;
}

.el-aside {
    width: 200px;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.el-aside.collapsed {
    width: 64px;
}

.el-main {
    background-color: white;
    padding: 20px;
}

.el-footer {
    background-color: #e9ecef;
    text-align: center;
    padding: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle;
    cursor: pointer;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
}

.sidebar-header img {
    width: 60px;
    height: 60px;
}

.el-menu {
    flex: 1;
    border-right: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.role {
    margin-right: 10px;
}

.username {
    margin-right: 10px;
    cursor: pointer;
}

.search-area {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    width: 200px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.button-area {
    margin-bottom: 20px;
}

.separator {
    margin: 0 10px;
    color: white;
}



/*文件上传按钮样式*/
/* 新增外层容器样式 */
.inline-file-group {
    display: flex;
    align-items: center;
    gap: 15px; /* 控制标签与按钮间距 */
}

/* 修改原有.file-input样式 */
.file-input {
    margin: 0; /* 去除原有上下margin */
}

/* 保持原有按钮样式不变 */
.file-input label {
    /* 原有样式保持不变 */
    display: inline-block;
    padding: 1px 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-input label:hover {
    background-color: #45a049;
}

/* 新增图标间距 */
.file-input i {
    margin-right: 6px;
}

/* 修改后的样式 */
.file-input input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}
